#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QGridLayout>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include "gauge.h"
#include <QTimer>

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();
private:
    void addGauge00();
    void addGauge01();
    void addGauge02();
    void addGauge10();
    void addGauge11();
    void addGauge12();
    QGridLayout* _gridLayout;
    Gauge* _gauge;
    QTimer* _timer;
    bool _inc { true };
private slots:
    void timeout();
};
#endif // WIDGET_H
